Skip to content

Conversation

@lsy323
Copy link
Collaborator

@lsy323 lsy323 commented May 25, 2024

Before this PR, the config logic in convert_checkpoints.py is broken, only quantized checkpoint can be generated.

After the fix:

  • Use --quantize_weights to control if checkpoint will be quantized.
  • Use --quantize_type to specify the quantization type, only effective when --quantize_weights is true.

@lsy323 lsy323 requested review from FanhaiLu1, qihqi and wang2yn84 May 25, 2024 02:03
Copy link
Collaborator

@wang2yn84 wang2yn84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

Copy link
Collaborator

@FanhaiLu1 FanhaiLu1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it!

@FanhaiLu1 FanhaiLu1 merged commit 57e6fcf into AI-Hypercomputer:main May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants